Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference
fieldandtokenSecurityCheck
This procedure does both a field and token security check for the specified object simultaneously, retrieving the information in one AppServer hit.
Location: af\app\afsecmngrp.i Parameters:INPUT pcObjectName AS CHARACTERThe current program object for security check.
INPUT pcAttributeCode AS CHARACTERThe current instance attribute posted to program.
INPUT plCheckFieldSecurity AS LOGICALWhether or not to extract field security.
INPUT plCheckTokenSecurity AS LOGICALWhether or not to extract token security.
OUTPUT pcFieldSecurity AS CHARACTERA comma-delimited list of secured fields. Each field is described by two entries in the list. The first entry is the field name qualified with the table name. The second entry is either "hidden" or "read-only", depending on the security for the particular field.
OUTPUT pcTokenSecurity AS CHARACTERA comma-delimited list of security tokens. The tokens represent objects, such as toolbar buttons and folder pages, for which the user does not have proper security clearance.
Notes: None Examples: See thewidgetWalkprocedure inaf\app\afsesmngrp.i.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |